fix some xcsv bugs. (#477)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Sun, 26 Jan 2020 15:04:36 +0000 (08:04 -0700)
committerGitHub <noreply@github.com>
Sun, 26 Jan 2020 15:04:36 +0000 (08:04 -0700)
commite483407cf11a45cc0e80acf9c34784cbc47f8bae
tree043f66a8b048bd135170a3a48acc93d205726b5a
parentb93e41e49d9b0f7a2653da6c4583e8b8c0afba4a
fix some xcsv bugs. (#477)

These led to non-sensical motoactv files in test-all.  These
non-sensical files lead to the discovery of a holux write passed
end of buffer bug.

1. fea062ee7 writtime expects a strftime format specification.
When writing XT_TIMET_TIME_MS with writtime the strpftime format
specification ("%s") that was previously used was replaced by a printf
format specification ("%ld").  Thus the twelve hour clock followed by
a 'd' character was printed instead of the number of seconds since the Epoch.

2. 172073cdb When intending to print the field encloser the record
delimiter printed instead.
xcsv.cc